package com.rayenterprise.kms.client.remote;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.rayenterprise.kms.domain.KHolder;

public interface HolderRemoteAsync {

	void getAll(AsyncCallback<List<KHolder>> callback);

	void getHolder(int holderId, AsyncCallback<KHolder> callback);

	void save(KHolder holder, AsyncCallback<KHolder> callback);

	void deleteHolder(KHolder holder, AsyncCallback<Void> callback);

}
